package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/3/5 9:36
 */

/**
    * 管理员绑定的角色表
    */
@Data
@NoArgsConstructor
@TableName(value = "tbl_admin_bind_role")
public class AdminBindRole implements Serializable {
    /**
     * 自增主键
     */
    @TableId(value = "abr_id", type = IdType.AUTO)
    private Long abrId;

    /**
     * 管理员编号
     */
    @TableField(value = "abr_adm_id")
    private Long abrAdmId;

    /**
     * 角色编号
     */
    @TableField(value = "abr_role_id")
    private Long abrRoleId;

    private static final long serialVersionUID = 1L;
}